<?php foreach($this->result as $row){ 
    $imgs = glob('public/upload/pacote/'.$row['PCT_ID'].'.*');
    $img = $imgs[0];
?>
<div class="col">
    <img class="icone" src="<?php echo $this->urlbase.'/public/media/images/icone-pacote.png'; ?>" alt="icone">
    <img src="<?php echo $this->urlbase.'/'.$img;?>"/>
    <div class="conteudo">
        <h2><?php echo $row['PCT_NOM'];?><h2>
        <div class="txtcol"><?php echo $row['PCT_TXT'];?></div>
    </div>
    <div class="registrar" cod-pacote='<?php echo $row['PCT_ID'];?>'><a onclick="buscaPacotes();" href="javascript:void(0);">Registre-se aqui <img src="../site/public/media/images/icone_seta_direita.png"></a></div>
</div>
<?php } ?>